package com.ruoyi.common.utils;

import java.util.Random;

/**
 * @author Fatmore
 * @Description RandomUtils
 * @Copyright Nanyang Commercial Bank, Limited. All rights reserved.
 * @since 2022/5/21 17:42
 */
public class RandomUtils {
    public static int nextYiWan() {
        Random r = new Random();
        return r.nextInt(10000);
    }

    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            System.out.println(nextYiWan());
        }
    }
}
